package com.Annotation;

/**
 * 目标：掌握自定义注解：掌握定义格式和语法
 * 注解可以放在局部变量，类、方法等上
 */
@MyBook(name = "《精通javaSE》",authors = "lingyi",price = 89.5)
public class AnnotationDemo1 {
    @MyBook(name = "《精通javaSE》",authors = "lingyi",price = 89.5)
    public static void main(String[] args) {
        //自定义一个注解
        @MyBook(name = "《精通javaSE》",authors = "lingyi",price = 89.5)
        int a=10;


    }
}
